package opera;

import book.BookList;

import java.sql.SQLOutput;

public class ShowOperation implements IOPeration{
    @Override
    public void work(BookList bookList) {
        int currenSize = bookList.getUsedSize();
        for(int i = 0;i < currenSize;i++) {
            System.out.println(bookList.getBooK(i));
        }
        System.out.println("显示完毕");
    }

}
